//
//  CZSettingGroup.m
//  0908网易彩票01
//
//  Created by Apple on 15/9/8.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import "ZDSettingGroup.h"

@implementation ZDSettingGroup

+ (instancetype)settingGroupWithItems:(NSArray *)items
{
    ZDSettingGroup *group = [[ZDSettingGroup alloc] init];
    
    group.items = items;
    
    return group;
}

+ (instancetype)settingGroupWithItems:(NSArray *)items andHeader:(NSString *)header andFooter:(NSString *)footer
{
    ZDSettingGroup *group = [self settingGroupWithItems:items];
    
    group.header = header;
    group.footer = footer;
    
    return group;
}

@end
